﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    public partial class EmrTbRecTempDiagnoseSetting
    {
        public int Id { get; set; }
        /// <summary>
        /// 病历编码
        /// </summary>
        public string? TempCode { get; set; }
        /// <summary>
        /// 模板节点名称
        /// </summary>
        public string? DiagnoseName { get; set; }
        /// <summary>
        /// 默认空，取全部诊断，否则取诊断类型，如 门诊诊断、入院诊断等
        /// </summary>
        public string? DiagKind { get; set; }
        /// <summary>
        /// 是否取最高诊断，如果有多个最高诊断，合并取，否则全部合并取
        /// </summary>
        public short? IsTop { get; set; }
        /// <summary>
        /// 如果是取最高诊断，1 取病历模板配置表中的最高诊断， 2-取患者诊断表中的最高级别诊断
        /// </summary>
        public int? TopSource { get; set; }
        /// <summary>
        /// 躯体诊断、精神科诊断
        /// </summary>
        public int? DiagClass { get; set; }
        public int? SortNo { get; set; }
        public int? HospitalId { get; set; }
    }
}
